<template>
	<view>
		<view class="mask_layer"></view>
		<view class="container">
			<img src="http://applet.atptest.com/ZC96ekDd1719295955170.png?v=1719295955521"
				style="width: 100%;height: 100%;" alt="" />
			<view class="text_btn" @click="perfectHandle">
				去完善
			</view>
			<view class="close_container">
				<view class="close_btn" @click="closeHandle()">
					<u-icon name="close" color="#fff" size="12"></u-icon>
				</view>
			</view>
		</view>
	</view>

</template>

<script>
	export default {
		data() {
			return {
			}
		},
		methods: {
			perfectHandle() {
				uni.navigateTo({
					url: '/pagesB/pages/mineInfo/mineInfo'
				})
			},
			closeHandle() {
				this.$emit('closeAccrredit',false)
			}
		}
	}
</script>

<style lang="scss" scoped>
	.mask_layer {
		width: 100%;
		height: 100%;
		background: rgba(0, 0, 0, .3);
		position: fixed;
		left: 0;
		top: 0;
		z-index: 10;
		display: block;
	}

	.container {
		width: 500rpx;
		height: 650rpx;
		position: fixed;
		left: 50%;
		top: 42%; // 只要左右居中可以不加top
		transform: translate(-50%, -50%);
		z-index: 999;

		.text_btn {
			position: absolute;
			width: 70%;
			height: 70rpx;
			display: flex;
			justify-content: center;
			align-items: center;
			border-radius: 6rpx;
			background-color: #1660b0;
			bottom: 76rpx;
			left: 50%;
			transform: translate(-50%, 0%);
			font-size: 32rpx;
			color: #fff;
			text-align: center;
		}

		.close_container {
			width: 100%;
			display: flex;
			justify-content: center;

			.close_btn {
				width: 30rpx;
				height: 30rpx;
				border-radius: 50%;
				border: 1px solid #fff;
				display: flex;
				justify-content: center;
				align-items: center;
			}
		}
	}
</style>